/// id : 1
/// name : "4141515"
/// desc : "251236326262"
/// imageUrl : "35125124526"
/// videoUrl : "http://rec6p45ah.hn-bkt.clouddn.com/9.mp4"
/// dFlag : 1
/// createTime : "2022-07-04T18:08:56"
/// updateTime : "2022-07-04T18:08:56"

class VideoList {
  late int id;
  late String name;
  late String desc;
  late String imageUrl;
  late String videoUrl;
  late int dFlag;
  late String createTime;
  late String updateTime;


  static VideoList? fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    VideoList videoListBean = VideoList();
    videoListBean.id = map['id'];
    videoListBean.name = map['name'];
    videoListBean.desc = map['desc'];
    videoListBean.imageUrl = map['imageUrl'];
    videoListBean.videoUrl = map['videoUrl'];
    videoListBean.dFlag = map['dFlag'];
    videoListBean.createTime = map['createTime'];
    videoListBean.updateTime = map['updateTime'];
    return videoListBean;
  }

  Map toJson() => {
    "id": id,
    "name": name,
    "desc": desc,
    "imageUrl": imageUrl,
    "videoUrl": videoUrl,
    "dFlag": dFlag,
    "createTime": createTime,
    "updateTime": updateTime,
  };
}